<?php
require_once("connect_db.php");
if($_GET["meet"]==""){
$sqlRegister="INSERT INTO meeting(meet_datetime,meet_hour,order_id,meet_remark,meet_mile_start,meet_mile_stop,meet_status";
$sqlRegister.=") VALUES(";
$sqlRegister.="'".$_GET["input_date"]." ".$_GET["time"].":00:00"."','".$_GET["hour"]."','".$_GET["temp"]."'";
$sqlRegister.=",'-','-','-','N')";
$queryRegister=mysql_query($sqlRegister,$conn);}

else{
$sqlUpdate="update meeting set meet_datetime='".$_GET["input_date"]." ".$_GET["time"].":00:00"."',meet_hour='".$_GET["hour"]."',meet_status='N2'
			where order_id='".$_GET["temp"]."' and meet_status='N'";
		$queryUpdate=mysql_query($sqlUpdate);
}

?>